/* Updated CSS for login modal */
.login-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 550px;
    height: 500px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.login-modal h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.login-modal form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-modal label {
    /*margin-bottom: 10px;*/
    color: #666;
}

.login-modal input[type="text"],
.login-modal input[type="password"] {
    width: 100%;
    padding: 12px;
    /*margin-bottom: 20px;*/
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.login-modal button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.login-modal button[type="submit"]:hover {
    background-color: #45a049;
}

.close-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #666;
    font-size: 20px;
    cursor: pointer;
}
